package com.etc.mapper;

import com.etc.po.UserInfoPo;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserInfoMapper {

    @Select("SELECT `id`,`phone`,`uname`,`password`,`sex`,`email`,`birthday`,`imgpath`,`cdate`,`lastlogintime` FROM\n" +
            "userinfomst")
    List<UserInfoPo> findAll();
}
